{extend name="public/layer/main" /}
{block name="css"}{/block}
{block name="style"}{/block}
{block name="js"}{/block}
{block name="script"}{/block}
{block name="module"}{$globals.module}{/block}
{block name="controller"}{$globals.controller}{/block}
{block name="action"}{$globals.action}{/block}
{block name="desc"}{$globals.desc}{/block}
{block name="content"}
<div class="box box-info">
	<div class="box-header with-border">
		<h3 class="box-title"></h3>
		<div class="box-tools">
			粉丝数:
			<a class="btn btn-info" href="javascript:;">
				<i class="glyphicon glyphicon-user"></i>
				{:$data.fensi}
			</a>
		</div>
	</div>
	{notempty name="data"}
	<div class="box-body">
		<table class="table table-bordered table-striped" rel-action="viewer" data-url="data-original">
			<tr>
				<td class="text-right col-sm-2" style="min-width:150px;"><h3>基本信息</h3></td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">申请人昵称</td>
				<td>{$data.principal}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">申请人帐号</td>
				<td>{$data.customerPhone}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">店铺编号</td>
				<td>{$data.user_id}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">商户类型</td>
				<td>{$data.mchType_map}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">让利类型</td>
				<td>{$data.typelv_map}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">行业类别</td>
				<td>{$data.bussScope}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">店铺地址</td>
				<td>{$data.address}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">客服电话</td>
				<td>{$data.customerPhone}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">法人负责人</td>
				<td>{$data.principal}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">身份证号</td>
				<td>{:substr_replace($data.idCode, 10, 4)}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">身份证有效期</td>
				<td>{$data.idExpTime}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">身份证图片：正面</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{:explode(';',$data.indentityPhoto)[0]}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">身份证图片：背面</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{:explode(';',$data.indentityPhoto)[1]}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">身份证图片：手持</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{:explode(';',$data.indentityPhoto)[2]}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">营业执照</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{$data.bussLicensePhoto}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">经营范围</td>
				<td>{$data.bussScope}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">门头环境照</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{:explode(';',$data.mainPhoto)[0]}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">室内环境照</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{:explode(';',$data.mainPhoto)[1]}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">开户许可证</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{$data.IndustryLicensePhoto}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2"><h3>银行信息</h3></td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">银行账户类型</td>
				<td>{$data.accountType_map}</td>
			</tr>

			<tr>
				<td class="text-right col-sm-2">开户总行名称</td>
				<td>{$data.bankHeadName}</td>
			</tr>

			<tr>
				<td class="text-right col-sm-2">开户支付名称</td>
				<td>{$data.bankName}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">银行卡号</td>
				<td>{$data.card_no}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">开户人身份证号</td>
				<td>{$data.cert_code}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">开户人</td>
				<td>{$data.acc_name}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">开户人地址</td>
				<td>{$data.cert_address}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">银行绑定手机号</td>
				<td>{$data.bank_phone}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">银行卡正面</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{:new_explode(';', $data.bankCardPhoto)[0] ?? ''}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">银行卡反面</td>
				<td>
					<a href="javascript:void(0);">
						<img class="fa fa-photo" data-original="{:new_explode(';', $data.bankCardPhoto)[1] ?? ''}" alt="" src="">
					</a>
				</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2"><h3>其它信息</h3></td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">状态</td>
				<td>{$data.status_map}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">驳回信息</td>
				<td></td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">申请时间</td>
				<td>{$data.checkTime}</td>
			</tr>
			<tr>
				<td class="text-right col-sm-2">经纪人</td>
				<td>{$data.broker.fullname|default=''}</td>
			</tr>
		</table>
	</div>
	<div class="box-footer">
		<div class="col-sm-offset-2 col-sm-10">
			<button type="button" class="btn btn-default" rel-action="back">返回</button>
		</div>
	</div>
	{else /}
	<div class="box-body">
		<div class="alert alert-error alert-dismissible">
			<h4><i class="icon fa fa-warning"></i>暂无记录</h4>
			暂未查询到有效的数据
		</div>
	</div>
	{/notempty}
</div>
{/block}